package org.hxyjs.service;

import org.hxyjs.dto.DTO;
import org.hxyjs.entity.AdminChef;
import org.hxyjs.page.PageInfo;

public interface AdminChefService {
    /**
     * 查询全部学生
     * @return
     */
    public DTO<AdminChef> getAllAdminChefs() throws Exception;

    /**
     * 删除学生
     * @param acno
     * @return
     * @throws Exception
     */
    public DTO<AdminChef> deleteAdminChefByAcno(String acno) throws Exception;
    /**
     *  修改学生
     * @param adminChef
     * @return
     */
    public DTO<AdminChef> updateAdminChefByAcno(AdminChef adminChef)  throws Exception;
    /**
     *  增加学生
     * @param adminChef
     * @return
     */
    public DTO<AdminChef> addAdminChef(AdminChef adminChef)  throws Exception;

    /**
     * 根据主键查询学生
     * @param acno
     * @return
     * @throws Exception
     */
    public DTO<AdminChef> getAdminChefByAcno(String acno) throws Exception;

     public DTO<AdminChef> getAdminChefByPage(PageInfo pageInfo) throws Exception;


}
